package com.worthtech.billportal.bean;

/**
 * NetPayJnlsId entity. @author MyEclipse Persistence Tools
 */

public class NetPayJnlsId implements java.io.Serializable {

	// Fields

	private String merordernum;
	private String pepdate;

	// Constructors

	/** default constructor */
	public NetPayJnlsId() {
	}

	/** full constructor */
	public NetPayJnlsId(String merordernum, String pepdate) {
		this.merordernum = merordernum;
		this.pepdate = pepdate;
	}

	// Property accessors

	public String getMerordernum() {
		return this.merordernum;
	}

	public void setMerordernum(String merordernum) {
		this.merordernum = merordernum;
	}

	public String getPepdate() {
		return this.pepdate;
	}

	public void setPepdate(String pepdate) {
		this.pepdate = pepdate;
	}

	public boolean equals(Object other) {
		if ((this == other))
			return true;
		if ((other == null))
			return false;
		if (!(other instanceof NetPayJnlsId))
			return false;
		NetPayJnlsId castOther = (NetPayJnlsId) other;

		return ((this.getMerordernum() == castOther.getMerordernum()) || (this
				.getMerordernum() != null
				&& castOther.getMerordernum() != null && this.getMerordernum()
				.equals(castOther.getMerordernum())))
				&& ((this.getPepdate() == castOther.getPepdate()) || (this
						.getPepdate() != null
						&& castOther.getPepdate() != null && this.getPepdate()
						.equals(castOther.getPepdate())));
	}

	public int hashCode() {
		int result = 17;

		result = 37
				* result
				+ (getMerordernum() == null ? 0 : this.getMerordernum()
						.hashCode());
		result = 37 * result
				+ (getPepdate() == null ? 0 : this.getPepdate().hashCode());
		return result;
	}

}